package edu.scut.course_management.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import edu.scut.course_management.po.Major;
/**
 * 数据访问，对应库表：major
 * @author thompson
 */
@Repository
public interface MajorMapper {
    Major findByMajorId(@Param("majorId")Integer majorId);
    // 根据院系列表返回专业
    List<Major> getDepartmentMajors(@Param("departmentId") Integer departmentId);
}